Add gdk version macros for 3.8
authorStefano Facchini <stefano.facchini@gmail.com>
Wed, 19 Sep 2012 11:33:26 +0000 (13:33 +0200)
committerStefano Facchini <stefano.facchini@gmail.com>
Wed, 17 Oct 2012 12:12:57 +0000 (14:12 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=684288

gdk/gdkversionmacros.h.in

index cf733f15b1f3177cf5f0928edee6c996a097dbe7..8eae9cf1a819afde526a6643072af0ea5d572605 100644 (file)
 # define GDK_AVAILABLE_IN_3_6
 #endif
 
+#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_8
+# define GDK_DEPRECATED_IN_3_8                GDK_DEPRECATED
+# define GDK_DEPRECATED_IN_3_8_FOR(f)         GDK_DEPRECATED_FOR(f)
+#else
+# define GDK_DEPRECATED_IN_3_8
+# define GDK_DEPRECATED_IN_3_8_FOR(f)
+#endif
+
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_8
+# define GDK_AVAILABLE_IN_3_8                 GDK_UNAVAILABLE(3, 8)
+#else
+# define GDK_AVAILABLE_IN_3_8
+#endif
+
 #endif  /* __GDK_VERSION_MACROS_H__ */